@import "mixins.less";

#resource {


    #resource-content {
        font-size: 0.14rem;
        .max-width();
        padding: 0.5rem 0.15rem 0.52rem 0.12rem;
        background-color: #edf1f2;
        color: #888d93;
    /*本页公共样式开始*/
       
        .reserve-count {
            line-height: 0.29rem;
            color: #686765;
            margin-top: 0.08rem;

            .oper {
                width: 0.26rem;
                height: 0.29rem;
                background-color: #fff;
                display: inline-block;
                text-align: center;
            }

            .count {
                width: 0.4rem;
                height: 0.29rem;
                background-color: rgba(255, 255, 255, .4);
                display: inline-block;
                text-align: center;

            }
        }
  
        .set-meal {
            padding: 0.23rem 0 0.22rem 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
             .meal {
                 h3 {
                     font-size: 0.2rem;
                     margin-bottom: 0.05rem;
                     font-weight: normal;
                 }

                 p {
                     color: #A9AAAD;

                     time,
                     span {
                         font-size: 0.16rem;
                     }
                 }
             }
              .total {
                  text-align: right;

                  p:first-child {
                      color: #F88412;
                      font-size: 0.3rem;
                      margin-bottom: 0.05rem;
                      position: relative;

                      &::before {
                          content: "￥";
                          position: absolute;
                          font-size: 0.14rem;
                          left: -0.1rem;
                          top: 0.05rem;
                      }
                  }

                  p {
                      a {
                          color: #A9AAAD;
                      }
                  }
              }
        }
 /*本页公共样式结束*/
        .ticket {
            background-color: #fff;
            border: 0.01rem solid #CAD7DA;
            border-radius: 0.08rem;
            margin-bottom: 0.15rem;

            .route {
                display: flex;
                justify-content: space-between;
                align-items: center;
                text-align: center;
                border-bottom: 0.01rem dashed rgba(202, 215, 218, 1);
                padding: 0.25rem 0.25rem 0.15rem 0.25rem;
                position: relative;

                h3 {
                    font-size: 0.3rem;
                    font-weight: normal;
                }

                .fly {
                    width: 0.36rem;
                    height: 0.27rem;
                    background: url("../images/icon/sprites.png") -2.535rem -2.03rem no-repeat;
                    background-size: 7.50/2rem;
                }

                &::before,
                &::after {
                    content: '';
                    display: block;
                    width: 0.16rem;
                    height: 0.16rem;
                    position: absolute;
                    bottom: -0.08rem;
                    border: 0.01rem solid #CAD7DA;
                    background-color: #edf1f2;
                    border-radius: 50%;
                    transform: rotate(45deg);
                }

                &::before {
                    left: -0.08rem;
                    border-left: none;
                    border-bottom: none;
                }

                &::after {
                    right: -0.08rem;
                    border-right: none;
                    border-top: none;
                }

            }

            .detail {
                padding: 0.25rem;
                background-color: #f9f9f9;
                border-radius: 0 0 0.08rem 0.08rem;

                table {
                    width: 100%;
                    margin-bottom: 0.25rem;

                    tbody {
                        width: 100%;

                        tr {
                            span {
                                font-size: 0.18rem;
                            }
                        }

                        tr:last-child td {
                            color: #676c73;
                        }

                        tr td:first-child {
                            width: 65%;
                        }

                        tr td:last-child {
                            width: 35%;
                        }
                    }

                    &:last-child {
                        margin-bottom: 0;

                        td:first-child a {
                            color: #676c73;
                            display: block;
                            height: 0.2rem;
                            width: 1.01rem;
                            border-bottom: 0.01rem solid #676c73;
                        }

                        td:last-child a {
                            color: #1AAFD9;
                        }
                    }

                    &:nth-child(2) {
                        font-size: 0.16rem;
                    }
                }
            }
        }

        .reserve {

            background: url("../images/img/quan_03.png") center no-repeat;
            background-size: 100%;
            height: 1.08rem;
            padding: 0.08/3.482*100% 0.2/3.482*100% 0.08/3.482*100% 1.58/3.482*100%;
            margin-bottom: 0.15rem;

            .reserve-box {
                width: 1.71rem;
                height: 0.93rem;
                color: #fff;
                padding-left: 0.16rem;
                padding-top: 0.08rem;

                p {
                    font-size: 0.12rem;
                }

                
            }
        }

        .reserve.free {
            background-image: url("../images/img/quan_06.png");
        }

        .bill {
            background-color: #fff;
            border: 0.01rem solid #CAD7DA;
            border-radius: 0.08rem;
            margin-bottom: 0.15rem;

            .title {
                background-color: #36b4dc;
                .textVC(0.47rem);
                padding: 0 0.16rem;
                border-radius: 0.08rem 0.08rem 0 0;
                color: #fff;
                font-size: 0.14rem;
                font-weight: normal;
                padding-left: 0.16rem;
                border-bottom: 0.04rem solid #53d4ea;
                display: flex;
                justify-content: space-between;
                align-items: center;

                span {
                    width: 0.21rem;
                    height: 0.21rem;
                    line-height: 0.21rem;
                    text-align: center;
                    border: 0.01rem solid #1e90b4;
                    border-radius: 50%;
                    color: #1e90b4;
                    font-family: "黑体";
                }
            }
            .room{
                .set-meal{
                    padding: 0.23rem 0.19rem 0.22rem 0.17rem;
                    &:first-child,&:last-child{
                        border-bottom: 0.01rem dashed #cccccc;
                    }
                    &:last-child{
                        padding-top: 0;
                    }
                    .meal{     
                        p{
                            font-size: 0.16rem;
                             color: #676C73;
                        }
                        .reserve-count{
                            border: 0.01rem solid #cccccc;
                            width: 0.94rem;
                            .count{
                                background-color: #e5e5e5;
                            }
                        }
                    }
                    .total{
                        p{
                            font-size: 0.16rem;
                             color: #676C73;
                             span{
                                 font-size: 0.24rem;
                                 color: #F88412;
                             }
                             &::before{
                                 color: #F88412;
                             }
                        }
                    }
                }
            }
            .insurance{
                 padding: 0.23rem 0.19rem 0.22rem 0.17rem;
                 .title-box{
                     margin-bottom: 0.2rem;
                     h3{
                         font-weight: normal;
                         font-size: 0.16rem;
                         color: #676C73;
                         margin-bottom: 0.05rem;
                     }
                     p{
                         position: relative;
                         text-indent: 0.16rem;
                         i{
                            position: absolute;
                            width: 0.13rem;
                            height: 0.13rem;
                            background: url("../images/icon/sprites.png") -2.19rem -2.1rem no-repeat;
                            background-size: 7.50/2rem;
                            left: 0;
                            top:0.05rem;
                         }
                     }
                 }
                 .classics{
                     display: flex;
                     align-items: center;
                     .classics-box{
                         display: flex;
                         position: relative;
                          margin-right: 0.3rem;
                          font-size: 0.16rem;
                          color: #676C73;
                          .checkedbox-box{
                            margin-right: 0.15rem;
                            padding-top: 0.03rem;
                             width: 0.16rem;
                             height: 0.16rem;
                            .classics-checkbox {
                                width: 0.16rem;
                                height: 0.16rem;
                                background-color: #fff;
                                position: relative;
                                border: 0.01rem solid #cccccc;
                            }
                            .checked {
                                position: absolute;
                                top: 0.03rem;
                                left: 0;
                                width: 0.16rem;
                                height: 0.16rem;
                                background: url("../images/icon/sprites.png") -2.30*0.38rem -6.18*0.38rem no-repeat;
                                background-size: 7.50*0.38rem;
                                opacity: 1;
                            }
                            .hide{
                                 opacity: 0;
                            }
                          }
                     }
                      .price {
                          color: #676C73;
                          position: relative;
                          width: 50%;
                          span{
                             color: #F88412;
                             font-size: 0.2rem;
                             &::before {
                                 content: "￥";
                                 position: absolute;
                                 font-size: 0.14rem;
                                 left: -0.1rem;
                                 top: 0.02rem;
                             }
                          }
                      }
                 }
                 .info{
                     padding: 0.1rem 0 0.15rem 0.15rem;
                 }
                 .rename{
                     text-align: right;
                     margin: 0.25rem 0 0.1rem 0;
                     display: block;
                     color: #37B4DB;
                     font-size: 0.16rem;
                 }
            }
        }
    }
    .next{
        a{
            display: block;
              background-color: #f1a30f;
              text-align: center;
              height: 52px;
              line-height: 52px;
              font-size: 20px;
              color: #fff;
              position: fixed;
              bottom: 0;
              left: 0;
              width: 100%;
        }
      
    }
}